#ifndef STANDARTMAZEBUILDER_H
#define STANDARTMAZEBUILDER_H

#include "mazebuilder.h"
#include "../mapsite.h"

class Room;
class StandartMazeBuilder : public MazeBuilder
{
public:
    StandartMazeBuilder();

    void buildMaze();
    void buildRoom(int room);
    void buildDoor(int roomFrom, int roomTo);

    Maze* maze();

private:
    Direction commonWall(Room *r1, Room *r2);

private:
    Maze *_currentMaze;
};

#endif // STANDARTMAZEBUILDER_H
